package com.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * TUnion entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "T_union", schema = "")
public class TUnion implements java.io.Serializable {

	// Fields

	private String unionId;
	private String unionPlace;
	private String unionText;
	private String unionMan;
	private String unionEmail;
	private String unionAddress;
	private String unionTel;
	private String unionQq;
	private String unionType;
	private String unionName;

	// Constructors

	/** default constructor */
	public TUnion() {
	}

	/** minimal constructor */
	public TUnion(String unionId) {
		this.unionId = unionId;
	}

	/** full constructor */
	public TUnion(String unionId, String unionPlace, String unionText, String unionMan, String unionEmail, String unionAddress, String unionTel, String unionQq, String unionType, String unionName) {
		this.unionId = unionId;
		this.unionPlace = unionPlace;
		this.unionText = unionText;
		this.unionMan = unionMan;
		this.unionEmail = unionEmail;
		this.unionAddress = unionAddress;
		this.unionTel = unionTel;
		this.unionQq = unionQq;
		this.unionType = unionType;
		this.unionName = unionName;
	}

	// Property accessors
	@Id
	@Column(name = "unionID", unique = true, nullable = false)
	public String getUnionId() {
		return this.unionId;
	}

	public void setUnionId(String unionId) {
		this.unionId = unionId;
	}

	@Column(name = "unionPlace")
	public String getUnionPlace() {
		return this.unionPlace;
	}

	public void setUnionPlace(String unionPlace) {
		this.unionPlace = unionPlace;
	}

	@Column(name = "unionText")
	public String getUnionText() {
		return this.unionText;
	}

	public void setUnionText(String unionText) {
		this.unionText = unionText;
	}

	@Column(name = "unionMan")
	public String getUnionMan() {
		return this.unionMan;
	}

	public void setUnionMan(String unionMan) {
		this.unionMan = unionMan;
	}

	@Column(name = "unionEmail")
	public String getUnionEmail() {
		return this.unionEmail;
	}

	public void setUnionEmail(String unionEmail) {
		this.unionEmail = unionEmail;
	}

	@Column(name = "unionAddress")
	public String getUnionAddress() {
		return this.unionAddress;
	}

	public void setUnionAddress(String unionAddress) {
		this.unionAddress = unionAddress;
	}

	@Column(name = "unionTel")
	public String getUnionTel() {
		return this.unionTel;
	}

	public void setUnionTel(String unionTel) {
		this.unionTel = unionTel;
	}

	@Column(name = "unionQQ")
	public String getUnionQq() {
		return this.unionQq;
	}

	public void setUnionQq(String unionQq) {
		this.unionQq = unionQq;
	}

	@Column(name = "unionType")
	public String getUnionType() {
		return this.unionType;
	}

	public void setUnionType(String unionType) {
		this.unionType = unionType;
	}

	@Column(name = "unionName")
	public String getUnionName() {
		return this.unionName;
	}

	public void setUnionName(String unionName) {
		this.unionName = unionName;
	}

}